import request from '@/utils/request'

export function selectAll() {
    return request({
        url: '/financial/selectAll',
        method: 'get'
    })
}

export function selectAllByTime(date) {
    return request({
        url: '/financial/selectAllByTime',
        method: 'get',
        params: {
            date: date
        }
    })
}

export function selectAllForjiaoyiduizhang() {
    return request({
        url: '/accountdeal/title/all',
        method: 'get'
    })
}

export function selectAllForqingsuanduizhang() {
    return request({
        url: '/audit/title/all',
        method: 'get'
    })
}

export function selectAllById(id) {
    return request({
        url: '/accountdeal/selectAllById',
        method: 'get',
        params: {
            id: id
        }
    })
}

export function selectAllById1(id) {
    return request({
        url: '/Audit/selectAllById',
        method: 'get',
        params: {
            id: id
        }
    })
}

export function selectByUpdateTime(updateTime) {
    return request({
        url: '/accountdeal/title/selectByUpdateTime',
        method: 'get',
        params: {
            updateTime: updateTime
        }
    })
}

export function selectByUpdateTime1(updateTime) {
    return request({
        url: '/audit/title/selectByUpdateTime',
        method: 'get',
        params: {
            updateTime: updateTime
        }
    })
}

export function selectByMerorderno(id) {
    return request({
        url: '/accountdeal/selectByMerorderno',
        method: 'get',
        params: {
            id: id
        }
    })
}

export function selectByMerorderno1(id) {
    return request({
        url: '/Audit/selectByMerorderno',
        method: 'get',
        params: {
            id: id
        }
    })
}